package cn.com.shopec.erp.base.dao;

import java.util.List;

import org.hibernate.HibernateException;

import cn.com.shopec.erp.base.entity.SupplierInfo;
import cn.com.shopec.erp.base.vo.SupplierVo;
import cn.com.shopec.erp.common.orm.IHibernateEntityDao;

public interface ISupplierInfoDao extends IHibernateEntityDao<SupplierInfo> {
	
	
	/**
	 * 清理合同过期的供应商失效
	 * @param time
	 * @author gaoyaxiong 2013-07-12
	 */
	int updateSupplierFailure(String time) throws HibernateException;
	
	
	/**
	 * 导出供应商Excel查询
	 * @param supVo
	 * @return
	 * gaoyaxiong 2013-08-15
	 */
	List<?> getExportExcel(SupplierVo supVo);


	String getSupNameById(String id);
}
